Add conditions to analytic integrators #93
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The current ODE-toolbox release detects conditions under which singularities can occur. This PR adds a feature that allows ODE-toolbox to generate separate solvers for each of these conditions.
Please see the documentation at: https://ode-toolbox-sandbox.readthedocs.io/en/latest
N.B. after merging this, the version number of ODE-toolbox should be bumped to 3.0.0, as this feature changes the external API.
Notes for reviewers:
requirements-testing.txt.test_analytic_solver_integration.pyand introduces numerical errors, so I've set the test to skip for older versions and added a line into the documentation.Replaces #89.